//
//  UIImage+imageAlpha.h
//  jjjy
//
//  Created by jinbao on 13-10-22.
//  Copyright (c) 2013年 jjjy. All rights reserved.
//

#import <UIKit/UIKit.h>

//#define kImageAlphaForTapped 0.2f //图片作为button的背景时，点击时改变的透明度

@interface UIImage (imageAlpha)

+ (UIImage *)sourceImage:(UIImage *)image applyingAlpha:(CGFloat)alpha;
+ (UIImage *)createImageWithColor:(UIColor *)color;
+ (UIImage *)scaleToSize:(UIImage *)img size:(CGSize)size;

@end
